#include<stdio.h>
#include<time.h>
#include<stdlib.h>
int main(void)
{
	srand(time(NULL));
	printf("%d\n", rand() % 10);
	printf("%.2f", (float)rand()/RAND_MAX);
	getchar();
	return 0;
}